22. Devil in the Details - Places Details
Devil in the Details - Places Details v3
Instructor Notes
Instructor Notes
To download the project code we've built and demonstrated up to this point, visit this course's GitHub repository. Make sure you replace "MYAPIKEY" in the JavaScript API call with your generated API key in each code sample.
Errata
In the code on line 650 (seen in the video from 3:35-4:15) the code is incorrect. It shows id: place.id
but it should be id: place.place_id
.
The full code should be:
// Create a marker for each place.
var marker = new google.maps.Marker({
map: map,
icon: icon,
title: place.name,
position: place.geometry.location,
id: place.place_id
});